/* pages/shop/detail/detail.wxss */
.detail-page {
  min-height: 100vh;
  background-color: #F9FAFC;
  padding-bottom: 150rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) + 150rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);


  &-bg {
    width: 100%;
    height: 307rpx;
  }

  .shop-card {
    position: relative;
    z-index: 2;
    margin: -80rpx auto 0 auto;
    width: 690rpx;
    background: #FFFFFF;
    box-shadow: 0rpx 0rpx 21rpx 0rpx rgba(237, 238, 240, 0.73);
    border-radius: 20rpx;
    display: flex;
    align-items: center;
    padding: 20rpx;

    .avatar {
      width: 141rpx;
      height: 141rpx;
      border-radius: 10rpx;
    }

    .info {
      flex: 1;
      margin-left: 23rpx;

      .title {
        font-weight: bold;
        font-size: 34rpx;
        color: #333333;
      }
    }

    .tags {
      margin-top: 17rpx;
      display: flex;
      flex-wrap: wrap;
      gap: 0 24rpx;

      .tag {
        display: flex;
        align-items: center;
        background-color: #fff;
        border: 1rpx solid #D19140;

        &:nth-child(2) {
          border-color: #52AF63;

          .left {
            background-color: #52AF63;
          }

          .val {
            color: #52AF63;
          }
        }

        &:last-child {
          border-color: #F98023;

          .left {
            background-color: #F98023;
          }

          .val {
            color: #F98023;
          }
        }

        .left {
          width: 50rpx;
          height: 38rpx;
          font-size: 19rpx;
          font-family: Source Han Sans CN;
          font-weight: 400;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #D19140;
          color: #fff;

          image {
            width: 14rpx;
            height: 17rpx;
          }
        }

        .val {
          padding: 0 8rpx;
          font-size: 19rpx;
          font-family: Source Han Sans CN;
          font-weight: 400;
          color: #D19140;
        }
      }
    }

    .more {
      margin-top: 10rpx;
      display: flex;
      gap: 0 24rpx;
      font-size: 24rpx;
      color: #999999;
      font-weight: 400;
    }
  }

  .card {
    margin: 24rpx auto 0 auto;
    width: 690rpx;
    background: #FFFFFF;
    border-radius: 20rpx;
    overflow: hidden;

    .swiper-tab {
      position: relative;

      image {
        width: 690rpx;
        height: 85rpx;
      }

      .title_c {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80rpx;
        display: flex;
        align-items: center;
        padding: 0 24rpx;
        color: rgba(241, 136, 59);
        font-size: 34rpx;

        .typeNames {
          padding-left: 20rpx;
          position: relative;
          bottom: 3rpx;

          .typename {
            font-size: 22rpx;
            margin-right: 15rpx;
          }
        }
      }
    }

    .cells {
      padding: 24rpx;

      .cell {
        display: flex;
        padding: 15rpx 0;

        .label {
          font-size: 32rpx;
          color: #999999;
          font-weight: 400;
          margin-right: 24rpx;
        }

        .value {
          flex: 1;
          font-size: 28rpx;
          color: #333333;
          font-weight: 400;

          .row {
            display: flex;
            align-items: center;
            padding: 10rpx 0;

            .phone {
              flex: 1;
            }

            .cu-btn {
              font-size: 22rpx;
              background: linear-gradient(90deg, #FF934C 1%, #FF6600 100%);
              border-radius: 10rpx;
              padding: 5rpx 20rpx;
              height: 50rpx;
              color: #fff;
            }
          }
        }
      }
    }

    .qrcode {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24rpx;

      image {
        width: 560rpx;
        height: 560rpx;
      }

      .cu-btn {
        width: 230rpx;
        font-size: 32rpx;
        padding: 5rpx 11rpx;
        color: #fff;
        font-weight: 400;
        text-align: center;
        background: linear-gradient(90deg, #FF934C 1%, #FF6600 100%);
        border-radius: 10rpx;
        margin: 24rpx auto 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }

    .con {
      padding: 24rpx;

      .row {
        display: flex;
        align-items: center;

        .tag {
          width: 75rpx;
          height: 40rpx;
          text-align: center;
          line-height: 40rpx;
          background-color: #FF6600;
          color: #fff;
          font-size: 22rpx;
          border-radius: 22rpx;
        }

        .name {
          margin-left: 20rpx;
          font-size: 28rpx;
          font-weight: bold;
          margin-left: 12rpx;
        }
      }

      .city-row {
        padding: 20rpx 0;

        &:not(:last-child) {
          border-bottom: 1rpx solid #f2f2f2;
        }
      }

      .citys {
        display: flex;
        align-items: center;
        margin-top: 12rpx;

        .city {
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;
          -o-text-overflow: ellipsis;
        }

        .join {
          image {
            width: 66.9rpx;
            height: 16.09rpx;
            margin: 0 20rpx;
            margin-bottom: 6rpx;
          }
        }
      }

      .descs {
        margin-top: 20rpx;
        display: flex;

        .label {
          font-size: 32rpx;
          color: #999999;
          font-weight: 400;
          display: inline-block;
          height: 33rpx;
        }

        .value {
          flex: 1;
          margin-left: 20rpx;
          font-size: 32rpx !important;
          color: #999999 !important;
          font-weight: 400;
        }
      }
    }
  }

  .action-bottom {
    position: fixed;
    width: 750rpx;
    bottom: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 24rpx;
    box-sizing: border-box;
    padding-bottom: 24rpx;
    padding-bottom: calc(constant(safe-area-inset-bottom) + 24rpx);
    padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx);

    .item {
      flex: 1;
      display: flex;
      align-items: center;
      background-color: rgba(255, 255, 255, 0);
      font-weight: 400;
    }

    .call {
      margin-left: 57rpx;
      width: 276rpx;
      height: 80rpx;
      background-color: #FF6600;
      border-radius: 40rpx;
      font-size: 30rpx;
      color: #FFFFFF;
      font-weight: 400;
      text-align: center;
    }
  }
}